home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 3.4 KB | 77 lines | [TEXT/GEOL] |
- Item 9809229 21-June-89 19:21
-
- From: ROSENSTEIN1 Rosenstein, Larry
-
- To: D2086 Efficient Field Svc, C Faith, PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: re Document rethinking
-
- Curtis,
-
- I agree that the application should not know about a document's windows or the
- commands to create those windows.
-
- You also proposed setting gTarget to the window's document if the window does
- not close the document. This is fine, except that when the next window is
- activated it is going to reset the target. The only place where this is not
- true is if that window was the last one on the screen.
-
- This gives us the real crux of the problem: you want to have an opened document
- without any windows. (This is what started the discussion originally, I
- believe.)
-
- Suppose we make this change in MacApp, which I think would be fairly simple.
- (Except I think we would have to worry about existing applications that rely on
- the current behavior.)
-
- One question is whether the application should support multiple documents open
- at once. If it does, then I think you have some serious user interface
- problems.
-
- How do users choose which document to create the window for? If there are no
- windows opened, then you could have a menu of all the documents, and a check
- beside the current document. (I think this is bad because it is a hidden
- mode.) If there are windows opened, then you have the case where the active
- window belongs to one document, but the user wants to create a window belonging
- to another document, which seems even more confusing.
-
- You could also have a menu that lists all the windows for all the documents,
- and then have the user select from than menu. But it sounded like an accounting
- application would have 3-4 windows for each document, which would make the menu
- unwieldy. (I am not a fan of hierarchical menus, by the way, and most of the
- interface people around here don't like them either.)
-
- So I think the only viable interface is to allow the user to open one document
- at a time. I think you could implement this in MacApp by having TApplication
- responsible for opening the general data file (ie, the company file in an
- accounting program) and having document objects for each kinds of window (ie
- Accounts Receivable).
-
- A cleaner solution would be to have a special kind of document object that: (1)
- allowed the user to have no window opened, and (2) closed itself when the user
- wanted to open another document. This would allow you to have a document with
- no windows opened, without comprimising the user interface. Perhaps this is
- really what should be added to MacApp.
-
- My preferred alternative is still what I suggested before, which is very
- similar to THINK Pascal's project window. This is a window that represents the
- document, from which the user can open windows associated with the document.
- (The only change I would make from THINK Pascal is that closing the window
- should close the document.)
-
-
- Finally, I think there is a difference between an application that is an
- general-purpose accounting or database application and an application that
- happens to use one of these internally. Even though an application might use a
- database internally, it may present an entirely different model to the user.
- (I am not sure that these account for 1/2 of all MacApp development, at least
- based on the programs that are currently shipping.)
-
-
- Larry
-
-
-
-